<?php /* Smarty version Smarty-3.0.7, created on 2013-09-20 10:00:31
         compiled from "./templates/mercari/boxes/box_cart.html" */ ?>
<?php /*%%SmartyHeaderCode:1527574827523c00a000c232-38389889%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '1c3b0899a656de16cf1fe564b8ad454330e59b6e' => 
    array (
      0 => './templates/mercari/boxes/box_cart.html',
      1 => 1379663763,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1527574827523c00a000c232-38389889',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_truncate')) include '/www/htdocs/w0108d75/shopbase/pro1/includes/classes/Smarty_3.0.7/plugins/modifier.truncate.php';
?><?php  $_config = new Smarty_Internal_Config("lang/".($_smarty_tpl->getVariable('language')->value)."/lang_".($_smarty_tpl->getVariable('language')->value).".conf", $_smarty_tpl->smarty, $_smarty_tpl);$_config->loadConfigVars("boxes", 'local'); ?>
<?php if ($_smarty_tpl->getVariable('deny_cart')->value!='true'){?>
	<?php if ($_smarty_tpl->getVariable('empty')->value=='false'){?>
		<?php if (!$_smarty_tpl->getVariable('ajax')->value){?><?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('html_tpl_path')->value)."/box_top.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('name','shopping_cart');$_template->assign('class','shopping_cart'); echo $_template->getRenderedTemplate();?><?php unset($_template);?>
			<div class="box_content mouse_cart" id="cart_content"><?php }?>
				<div class="cart_total">
					<span class="cart_icon"></span>
					<span class="cart_details">
						<?php echo $_smarty_tpl->getVariable('ARTICLE')->value;?>
 <b><?php echo $_smarty_tpl->getVariable('TOTAL_PRODUCTS')->value;?>
</b><br />
						<b><?php echo $_smarty_tpl->getVariable('TOTAL')->value;?>
</b><br />
						<a href="<?php echo $_smarty_tpl->getVariable('LINK_CART')->value;?>
" title="<?php echo $_smarty_tpl->getConfigVariable('to_cart');?>
">
							<?php echo $_smarty_tpl->getConfigVariable('to_cart');?>

						</a>
					</span>
				</div>
				<div class="clearfix"></div>
				<div class="cart_hide dn">
					<h3><?php echo $_smarty_tpl->getVariable('LAST')->value;?>
</h3>
					<div class="cart_bg">
						<table width="100%">
						<tr>
							<th>&nbsp;</th>
							<th class="al"><?php echo $_smarty_tpl->getVariable('ARTICLE')->value;?>
</th>
							<th><?php echo $_smarty_tpl->getVariable('COUNT')->value;?>
</th>
							<th class="ar"><?php echo $_smarty_tpl->getVariable('TOTAL_PRICE')->value;?>
</th>
						</tr>
						<?php  $_smarty_tpl->tpl_vars['products_data'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('products')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['products_data']->key => $_smarty_tpl->tpl_vars['products_data']->value){
?>
							<tr id="cp_<?php echo $_smarty_tpl->tpl_vars['products_data']->value['ID'];?>
" class="shopping_cart_content bts">
								<td>
									<?php echo $_smarty_tpl->tpl_vars['products_data']->value['IMAGE'];?>

								</td>
								<td class="w48p">
									<a href="<?php echo $_smarty_tpl->tpl_vars['products_data']->value['LINK'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['products_data']->value['NAME'];?>
">
										<?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['products_data']->value['NAME'],20,"...",true);?>

									</a>
								</td>
								<td class="ac">
									<?php echo $_smarty_tpl->tpl_vars['products_data']->value['QTY'];?>

								</td>
								<td class="ar">
									<?php echo $_smarty_tpl->tpl_vars['products_data']->value['PRICE'];?>

								</td>
							</tr>
						<?php }} ?>
						</table>
						<?php if ($_smarty_tpl->getVariable('DISCOUNT')->value){?>
							<div class="ar ot_discount">
								<?php echo $_smarty_tpl->getVariable('DISCOUNT_AMOUNT')->value;?>
 <?php echo $_smarty_tpl->getConfigVariable('text_discount');?>
 <?php echo $_smarty_tpl->getVariable('DISCOUNT')->value;?>

							</div>
						<?php }?>
						<div class="cart_detail_cart ar fwb"><?php echo $_smarty_tpl->getVariable('SUBTOTAL')->value;?>
 <?php echo $_smarty_tpl->getVariable('TOTAL')->value;?>
</div>
						<?php if ($_smarty_tpl->getVariable('UST')->value){?><div class="cart_tax ar fs85">*<?php echo $_smarty_tpl->getVariable('UST')->value;?>
</div><?php }?>
						<?php if ($_smarty_tpl->getVariable('SHIPPING_INFO')->value){?><div class="cart_shipping ar fs85"><?php echo $_smarty_tpl->getVariable('SHIPPING_INFO')->value;?>
</div><?php }?>
					</div>
				</div>
			<?php if (!$_smarty_tpl->getVariable('ajax')->value){?></div>
		<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('html_tpl_path')->value)."/box_bottom.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?><?php }?>
	<?php }else{ ?>
		<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('html_tpl_path')->value)."/box_top.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('name','shopping_cart');$_template->assign('class','shopping_cart'); echo $_template->getRenderedTemplate();?><?php unset($_template);?>
			<div class="box_content" id="cart_content">
				<div class="cart_total">
					<span class="cart_icon"></span>
					<span class="cart_details">
						<?php echo $_smarty_tpl->getVariable('ARTICLE')->value;?>
: <b>0</b><br />
						<b>0 <?php echo $_smarty_tpl->getVariable('CUR')->value;?>
</b>
					</span>
				</div>
			</div>
		<?php $_template = new Smarty_Internal_Template(($_smarty_tpl->getVariable('html_tpl_path')->value)."/box_bottom.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
	<?php }?>
<?php }?>